package cc.messcat.service.fupin;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import cc.messcat.common.model.Pager;
import cc.messcat.common.service.BaseService;
import cc.messcat.entity.fupin.Family;
import cc.messcat.entity.fupin.VisitRecd;
import cc.messcat.entity.system.McUser;

public interface VisitRecdService extends BaseService<VisitRecd>{

	// 查询
	public Pager<VisitRecd> retrieveVisitRecdPager(Integer pageNo, Integer pageSize, VisitRecd visitRecd, String beginDate, String endDate);
    //导出
	public HSSFWorkbook exportVisitRecd(Integer pageNo, Integer pageSize, VisitRecd visitRecd, String beginDate, String endDate, HttpServletResponse response);
	
	public List<Family> queryHZ(VisitRecd visitRecd);
	
	public List<VisitRecd> getRetrieveByPID(McUser user,Long id) throws Exception;
	
	public Long addVisitRecd(VisitRecd visitRecd);
	
	/* 查询贫困户帮扶日志数量*/
	public Long getCountByPid(Long id);
}
